
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>后台管理系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="/styles/layui.css"  media="all">
    <link rel="stylesheet" href="/styles/common.css"/>
</head>
<body class="layui-layout-body" style="width: 100%">
<#include "managerbossmenu.ftl">
<div class="layui-body">
    <!-- 内容主体区域 -->
    <div style="padding: 15px;">

        <div class="content-nav">
            会议管理 >
        </div>
        <table class="listtable">
            <caption>所有会议</caption>
            <tr class="listheader">
                <th>id</th>
                <th>会议名</th>
                <th>房间id</th>
                <th>发起人id</th>
                <th>预定人数</th>
                <th>开始时间</th>
                <th>结束时间</th>
                <th>申请时间</th>
                <th>取消时间</th>
                <th>描述</th>
                <th>状态</th>
                <th>操作</th>
            </tr>
            <#if meetings??>
                <#list meetings as mt>
                    <tr>
                        <td>${mt.meetingid}</td>
                        <td>${mt.meetingname}</td>
                        <td>${mt.roomid}</td>
                        <td>${mt.reservationistid}</td>
                        <td>${mt.numberofparticipants}</td>
                        <td>${(mt.starttime)?string('yyyy.MM.dd HH:mm:ss')}</td>
                        <td>${(mt.endtime)?string('yyyy.MM.dd HH:mm:ss')}</td>
                        <td>${(mt.reservationtime)?string('yyyy.MM.dd HH:mm:ss')}</td>
                        <#if mt.canceledtime??>
                            <td>${(mt.canceledtime)?string('yyyy.MM.dd HH:mm:ss')}</td>
                        <#else>
                            <td>null</td>
                        </#if>
                        <td>${mt.description}</td>
                        <td>${mt.status}</td>
                        <td>
                            <button><a class="clickbutton" href="/managerboss/editmeeting?id=${mt.meetingid}">编辑</a></button>
                            <button><a class="clickbutton" href="/managerboss/deletemeeting?id=${mt.meetingid}">删除</a></button>
                        </td>
                    </tr>
                </#list>
            </#if>
        </table>
    </div>
</div>

<div class="layui-footer">
    : 欢迎使用
</div>
</div>

</body>
</html>
